package com.sinven.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * NideshopMembers entity. @author MyEclipse Persistence Tools
 */
/**
 * 李志伟
 * 反向生成
 */
@Entity
@Table(name = "nideshop_members", catalog = "csf")
public class Members implements java.io.Serializable {

    // Fields

    private Integer id;
    private Integer typeName;
    private Integer integral;

    // Constructors

    /** default constructor */
    public Members() {
    }

    /** minimal constructor */
    public Members(Integer typeName) {
        this.typeName = typeName;
    }

    /** full constructor */
    public Members(Integer typeName, Integer integral) {
        this.typeName = typeName;
        this.integral = integral;
    }

    // Property accessors
    @Id
    @GeneratedValue
    @Column(name = "id", unique = true, nullable = false)
    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Column(name = "typeName", nullable = false)
    public Integer getTypeName() {
        return this.typeName;
    }

    public void setTypeName(Integer typeName) {
        this.typeName = typeName;
    }

    @Column(name = "integral")
    public Integer getIntegral() {
        return this.integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

}